< previous page page_219 next page >

Page 219
Figure 8.2 shows these extra command buttons as disabled (grayed out), although in the actual application you would probably hide these controls unless you need them. Then again, some applications combine the Add form and the display/modify form into one single form and task by including one more command button on the form to request the add task.
Note
You should be aware that the forms, data elements, and database design in this lesson are only one way to design and create this particular application. If you choose to create this application to use, it could look vastly different from this one.

Searching for a Particular Name
The next task that this application will provide is the ability to search the database for a particular entry. Now, when you use the Explorer-style interface, it doesn't make much sense to allow users to search by a person's last name. However, you might need to find someone in the database in many other ways, including the following:
First Name
Zip Code
Spouse Name
Child Name
City
State
A search form is basically the same in most applications, so you can use the design concepts of any application that you use. Figure 8.3 shows the form in the sample application. Notice that a group of option buttons allows users to select the data element to search, and a text box allows users to enter the actual data to search for. This form takes the search text and then uses database functionality to perform the actual search.
12181-0219a.gif
Figure 8.3.
Search forms are very similar
in design for many Windows
applications.

 
< previous page page_219 next page >

If you like this book, buy it!